jQuery(document).ready(function() {
 
var lsyyzdf=WfForm.convertFieldNameToId("detail_lsyyzdf","detail_1");
//零售运营总得分   
var zdf;
    checkCustomize = function () {
        var flag="false";
        //获取明细表1的fieldid
         var sub = WfForm.getDetailAllRowIndexStr("detail_1");
        //判断是否为null
        if (sub != null) {
            //split 分组
            var arr = sub.split(",");

            for (var a = 0; a < arr.length; a++) {
                 zdf = ((jQuery(lsyyzdf+"_"+arr[a])).val())*1;
                if (zdf <= 35) {
                    flag = "true";
                    break;
                }
            }
        }
        //如果为true给字段赋值

        if( flag=="true"){
           return true;
        }else{
            alert('零售运营总得分超过评分标准！（满分35）');
           return false;

        }
        return true;
     }
});